home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0971.dms / q0971.adf / programmer / util / show_info.doc < prev   
Text File  |  1997-04-10  |  709b  |  20 lines

  1.   SHOW_INFO:
  2.   ---------
  3.   Usage:  show_info
  4.  
  5. - This is an utility program for SuperDark. This program, open two
  6.   window. In the first window there is some not so interesting informations,
  7.   but the second window is a text window.
  8.   In this second window, you can see debug informations sends by modules.
  9.   This is very usefull for modules programmers. Just add a SDprintf()
  10.   funciton in tour sourcecode, like this:
  11.  
  12.      SDprintf("Hello, I'm here, and the value is:%lx\n",toto);
  13.  
  14.   Just like any normal printf.
  15.  
  16.   NOTE: DO NOT USE printf, use SDprintf in your modules
  17.  
  18.   NOTE: The function use the exec RawDoFmt, so this function only
  19.         work with LONG value, so use %ld,%lx, instead of %d,%x, etc...
  20.